# Contributor: Simon Frankenberger <simon-alpine@fraho.eu>
# Maintainer: Simon Frankenberger <simon-alpine@fraho.eu>
pkgname=py3-dotenv
_pyname=python-dotenv
pkgver=0.14.0
pkgrel=1
pkgdesc="Reads the key-value pair from .env file and adds them to environment variable."
url="https://github.com/theskumar/python-dotenv"
arch="noarch"
license="BSD-3-Clause"
depends="python3"
makedepends="py3-setuptools"
source="$pkgname-$pkgver.tar.gz::https://github.com/theskumar/$_pyname/archive/v$pkgver.tar.gz"
builddir="$srcdir/$_pyname-$pkgver"

build() {
	python3 setup.py build
}

check() {
	python3 setup.py check
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="6a259552e2c69a16d19a969743835562c517a154c21a7b4d006fe8fcda1ab53f020ca61e6d94dd4bf5eb6a1f96b5ac91f58deaf083a9ffdce468f65becfd211d  py3-dotenv-0.14.0.tar.gz"
